﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IBLL
{
    public interface IHRMCoreCompetencyListBLL
    {
        IList<PositionInfo> LoadPositionTreeView(Nullable<int> EmpTypeSeq);
        IList<TreeViewInfo> LoadPositionJobsites(Nullable<int> EmpTypeSeq, string ParentID);

        void Insert(string strPosSeq, int? intCoreCompentencySeq, int? intCompentencyLevelSeq, int? intWeight
                   , int? intCreateBy);
        DataTable Search(int? intCoreCompentencySeq, int? intCompentencyLevelSeq, int? intExpectResult
                        , int? intWeight, string strPosSeq);
        void Update(int? intPosCompentencySeq, int? intCoreCompentencySeq, int? intCompentencyLevelSeq
                    ,int? intWeight, int? intCreateBy);
        void Delete(int? intPosCompentencySeq);
        DataTable LoadCoreCompetency();
        DataTable LoadCompentencyLevel(int? intCoreCompentencySeq);
        bool CheckValueSubmit(int? intPosCompentencySeq);
        bool CheckSumWeight(int? intWeight, string strPosSeq);
        bool CheckUnique(string strPosSeq, int? intCoreCompentencySeq);
        string LoadNamePos(string strPosSeq);
    }
}